#include "ota_http.h"
#include <stdio.h>

int main(int argc, char const *argv[])
{
    char * json = ota_http_getJSON(OTA_VERSION_URL);
    printf("json: %s\n",json);
    ota_http_download(OTA_VERSION_DOWNLOAD_URL,OTA_VERSION_LOCAL_FILE_NAME);
    return 0;
}


